<?php
	
	
	
$config = array(
			'update_student_data' => array(
						array(
							'field' => 'firstname',
							'label' => 'Fistname',
							'rules' => 'required'
						),
						array(
							'field' => 'middlename',
							'label' => 'Middle Name',
							'rules' => 'required'
						),
						array(
							'field' => 'lastname',
							'label' => 'Lastname',
							'rules' => 'required'
						),
						array(
							'field' => 'gender',
							'label' => 'Gender',
							'rules' => 'required'
						),
						array(
							'field' => 'civilstatus',
							'label' => 'Civil Status',
							'rules' => 'required'
						),
						array(
							'field' => 'age',
							'label' => 'Age',
							'rules' => ''
						),
						array(
							'field' => 'dob',
							'label' => 'Birth Date',
							'rules' => 'required'
						),
						array(
							'field' => 'pob',
							'label' => 'Birth Place',
							'rules' => 'required'
						),
						array(
							'field' => 'disability',
							'label' => 'Disability',
							'rules' => ''
						),
						array(
							'field' => 'nationality',
							'label' => 'nationality',
							'rules' => 'required'
						),
						array(
							'field' => 'religion',
							'label' => 'Religion',
							'rules' => ''
						),
						array(
							'field' => 'contactnumber',
							'label' => 'Contact Number',
							'rules' => 'required'
						),
						array(
							'field' => 'email',
							'label' => 'Email Address',
							'rules' => 'required|valid_email'
						),
						array(
							'field' => 'presentaddress',
							'label' => 'Present Address',
							'rules' => 'required'
						),
						array(
							'field' => 'eschoolname',
							'label' => 'Elementary School Name',
							'rules' => ''
						),
						array(
							'field' => 'eschooladdress',
							'label' => 'Elementary School Address',
							'rules' => ''
						),
						array(
							'field' => 'eyeargraduate',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'sschoolname',
							'label' => 'Secondary School Name',
							'rules' => ''
						),
						array(
							'field' => 'sschooladdress',
							'label' => 'Secondary School address',
							'rules' => ''
						),
						array(
							'field' => 'syeargraduated',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'vschoolname',
							'label' => 'Vocational school Name',
							'rules' => ''
						),
						array(
							'field' => 'vschooladdress',
							'label' => 'Vocational School Address',
							'rules' => ''
						),
						array(
							'field' => 'vyeargraduated',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'tschoolname',
							'label' => 'Tertiary School Name',
							'rules' => ''
						),
						array(
							'field' => 'tschooladdress',
							'label' => 'Tertiary School Address',
							'rules' => ''
						),
						array(
							'field' => 'tyeargraduate',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'oschoolname',
							'label' => 'Other School Name',
							'rules' => ''
						),
						array(
							'field' => 'oschooladdress',
							'label' => 'Other School Address',
							'rules' => ''
						),
						array(
							'field' => 'oyeargraduate',
							'label' => 'Other School Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'fathername',
							'label' => 'Father\'s Name',
							'rules' => 'required'
						),
						array(
							'field' => 'fatheroccupation',
							'label' => 'Father\'s Occupation',
							'rules' => 'required'
						),
						array(
							'field' => 'fathercontact',
							'label' => 'Father\'s Contact Number',
							'rules' => 'required'
						),
						array(
							'field' => 'mothername',
							'label' => 'Mother\'s Name',
							'rules' => 'required'
						),
						array(
							'field' => 'mothercontact',
							'label' => 'mother\'s Contact Number',
							'rules' => 'required'
						),
						array(
							'field' => 'motheroccupation',
							'label' => 'mother\'s occupation',
							'rules' => 'required'
						),
						array(
							'field' => 'parentaddress',
							'label' => 'Parent\'s Address',
							'rules' => 'required'
						),
						array(
							'field' => 'guardianname',
							'label' => 'guardian\'s name',
							'rules' => ''
						),
						array(
							'field' => 'guardiancontact',
							'label' => 'guardian\'s contact number',
							'rules' => ''
						),
						array(
							'field' => 'guardianaddress',
							'label' => 'guardian\'s address',
							'rules' => ''
						)
			),
			'add_student_admin' => array(
					array(
							'field' => 'course',
							'label' => 'Course',
							'rules' => 'required'
						),
					array(
							'field' => 'lastname',
							'label' => 'lastname',
							'rules' => 'required'
						),
					array(
							'field' => 'firstname',
							'label' => 'firstname',
							'rules' => 'required'
						),
					array(
							'field' => 'middlename',
							'label' => 'middlename',
							'rules' => 'required'
						),
					array(
							'field' => 'gender',
							'label' => 'gender',
							'rules' => 'required|alpha'
						),
					array(
							'field' => 'year_level_id',
							'label' => 'Year level',
							'rules' => 'required|numeric'
						),
					array(
							'field' => 'studenttype',
							'label' => 'Student type',
							'rules' => 'required|alpha'
						),
					array(
							'field' => 'civilstatus',
							'label' => 'Student type',
							'rules' => 'required|alpha'
						),
					
			),
			'add_student_register' => array(
						array(
							'field' => 'firstname',
							'label' => 'Fistname',
							'rules' => 'required'
						),
						array(
							'field' => 'middlename',
							'label' => 'Middle Name',
							'rules' => 'required'
						),
						array(
							'field' => 'lastname',
							'label' => 'Lastname',
							'rules' => 'required'
						),
						array(
							'field' => 'gender',
							'label' => 'Gender',
							'rules' => 'required'
						),
						array(
							'field' => 'civilstatus',
							'label' => 'Civil Status',
							'rules' => 'required'
						),
						array(
							'field' => 'age',
							'label' => 'Age',
							'rules' => ''
						),
						array(
							'field' => 'dob',
							'label' => 'Birth Date',
							'rules' => 'required'
						),
						array(
							'field' => 'pob',
							'label' => 'Birth Place',
							'rules' => 'required'
						),
						array(
							'field' => 'disability',
							'label' => 'Disability',
							'rules' => ''
						),
						array(
							'field' => 'nationality',
							'label' => 'nationality',
							'rules' => 'required'
						),
						array(
							'field' => 'religion',
							'label' => 'Religion',
							'rules' => ''
						),
						array(
							'field' => 'contactnumber',
							'label' => 'Contact Number',
							'rules' => 'required'
						),
						array(
							'field' => 'email',
							'label' => 'Email Address',
							'rules' => 'required|valid_email'
						),
						array(
							'field' => 'presentaddress',
							'label' => 'Present Address',
							'rules' => 'required'
						),
						array(
							'field' => 'eschoolname',
							'label' => 'Elementary School Name',
							'rules' => ''
						),
						array(
							'field' => 'eschooladdress',
							'label' => 'Elementary School Address',
							'rules' => ''
						),
						array(
							'field' => 'eyeargraduate',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'sschoolname',
							'label' => 'Secondary School Name',
							'rules' => ''
						),
						array(
							'field' => 'sschooladdress',
							'label' => 'Secondary School address',
							'rules' => ''
						),
						array(
							'field' => 'syeargraduated',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'vschoolname',
							'label' => 'Vocational school Name',
							'rules' => ''
						),
						array(
							'field' => 'vschooladdress',
							'label' => 'Vocational School Address',
							'rules' => ''
						),
						array(
							'field' => 'vyeargraduated',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'tschoolname',
							'label' => 'Tertiary School Name',
							'rules' => ''
						),
						array(
							'field' => 'tschooladdress',
							'label' => 'Tertiary School Address',
							'rules' => ''
						),
						array(
							'field' => 'tyeargraduate',
							'label' => 'Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'oschoolname',
							'label' => 'Other School Name',
							'rules' => ''
						),
						array(
							'field' => 'oschooladdress',
							'label' => 'Other School Address',
							'rules' => ''
						),
						array(
							'field' => 'oyeargraduate',
							'label' => 'Other School Year Graduated',
							'rules' => ''
						),
						array(
							'field' => 'fathername',
							'label' => 'Father\'s Name',
							'rules' => 'required'
						),
						array(
							'field' => 'fatheroccupation',
							'label' => 'Father\'s Occupation',
							'rules' => 'required'
						),
						array(
							'field' => 'fathercontact',
							'label' => 'Father\'s Contact Number',
							'rules' => 'required'
						),
						array(
							'field' => 'mothername',
							'label' => 'Mother\'s Name',
							'rules' => 'required'
						),
						array(
							'field' => 'mothercontact',
							'label' => 'mother\'s Contact Number',
							'rules' => 'required'
						),
						array(
							'field' => 'motheroccupation',
							'label' => 'mother\'s occupation',
							'rules' => 'required'
						),
						array(
							'field' => 'parentaddress',
							'label' => 'Parent\'s Address',
							'rules' => 'required'
						),
						array(
							'field' => 'guardianname',
							'label' => 'guardian\'s name',
							'rules' => ''
						),
						array(
							'field' => 'guardiancontact',
							'label' => 'guardian\'s contact number',
							'rules' => ''
						),
						array(
							'field' => 'guardianaddress',
							'label' => 'guardian\'s address',
							'rules' => ''
						)
			),
			'add_student_admin' => array(
					array(
							'field' => 'course',
							'label' => 'Course',
							'rules' => 'required'
						),
					array(
							'field' => 'lastname',
							'label' => 'lastname',
							'rules' => 'required'
						),
					array(
							'field' => 'firstname',
							'label' => 'firstname',
							'rules' => 'required'
						),
					array(
							'field' => 'middlename',
							'label' => 'middlename',
							'rules' => 'required'
						),
					array(
							'field' => 'gender',
							'label' => 'gender',
							'rules' => 'required|alpha'
						),
					array(
							'field' => 'year_level_id',
							'label' => 'Year level',
							'rules' => 'required|numeric'
						),
					array(
							'field' => 'studenttype',
							'label' => 'Student type',
							'rules' => 'required|alpha'
						),
					array(
							'field' => 'civilstatus',
							'label' => 'Student type',
							'rules' => 'required|alpha'
						),
					
			)
			
			
);